//
// api.js
// vue3-element-admin
//
// Created by 区区电脑 on 2023/04/11.
//


import request from "@/request"
import axios from "@/request/axios.js"


// 添加
export function AddProgramVersionFile(params = {}, data = {}, onProgress = () =>{}) {
    return axios({url: '/api/VersionFile/AddProgramVersionFile', method: 'post', params, data, upload: true, onProgress})
}

// 删除
export function DeleteVersionFileInfo(params = {}) {
    return request({url: '/api/VersionFile/DeleteVersionFileInfo', method: 'delete', params})
}

// 列表
export function GetVersionFileList(data = {}) {
    return request({url: '/api/VersionFile/GetVersionFileList', method: 'post', data})
}
